package com.foreveross.consumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//这是是另外一个服务的名字,第二个是自己建的那个熔断器的名称s
@FeignClient(name = "provider",fallback = MyHystrix.class)
public interface ProviderRemote {

    //这意思是指向服务provider的test
    @RequestMapping("/test")
    public String test();


}
